/** sass */

@mixin flex($direction: row) {
  display: flex;
  flex-direction: $direction;
}

@mixin center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@mixin ellipsis($row:1) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: $row;
  -webkit-box-orient:vertical;
  @if $row <= 1 {
    white-space: nowrap;
  }
}

@mixin btn($bgColor: #00e1f1, $color: #ffffff, $lineHeight: 1, $fontSize: 14px) {
  background: $bgColor;
  color: $color;
  border: 1PX solid $bgColor;
  padding: 0;
  margin: 0;
  line-height: $lineHeight;
  font-size: $fontSize;
  text-align: center;
}
